import csv
import json

with open('工作量.csv', 'r', encoding='UTF-8') as csv_file:
    csvReader = csv.reader(csv_file)
    csv_list = list(csvReader)

# 数据
data = csv_list[1:]
csv_dict = {}
for x in data:
    csv_dict[x[0]] = x[1]
with open('工作量.json', 'w', encoding='UTF-8') as json_file:
    json.dump(csv_dict, json_file, ensure_ascii=False)


